package com.a.b.c.d.e.entities;

import lombok.Data;

/**
 * Created on 2021/10/8.
 *
 * @author yanshuchun
 * CCI = (TP -  MA ) / MD /0.015
 *
 * TP = (最高价+最低价+收盘价)/3
 *
 * MA = 近N日收盘价的累计之和 / N
 *
 * MD = 近N日（MA - 收盘价）的绝对值累计之和/N
 *
 * 0.015计算系数    N 为计算周期
 *
 */
@Data
public class KLinesEntity {
//    String a = "2021-09-30,4.92,5.08,5.15,4.92,32623,16480526.00,4.68,3.46,0.17,0.87";

    //    0
    private String date;
//1
    private Double kp;
//    2
    private Double sp;
//    3
    private Double top;
//    4
    private Double low;
//    8
    private String zdf;
//    9
    private Double zde;
//    5
    private Double cjl;
//    6
    private Double cje;
//    7
    private String zf;
//    10
    private String hsl;
}
